Optimal. Leaf size=234 \[ -\frac{1}{3} (1-x)^{3/4} x (x+1)^{5/4}-\frac{1}{12} (1-x)^{3/4} (x+1)^{5/4}-\frac{3}{8} (1-x)^{3/4} \sqrt [4]{x+1}-\frac{3 \log \left (\frac{\sqrt{1-x}}{\sqrt{x+1}}-\frac{\sqrt{2} \sqrt [4]{1-x}}{\sqrt [4]{x+1}}+1\right )}{16 \sqrt{2}}+\frac{3 \log \left (\frac{\sqrt{1-x}}{\sqrt{x+1}}+\frac{\sqrt{2} \sqrt [4]{1-x}}{\sqrt [4]{x+1}}+1\right )}{16 \sqrt{2}}+\frac{3 \tan ^{-1}\left (1-\frac{\sqrt{2} \sqrt [4]{1-x}}{\sqrt [4]{x+1}}\right )}{8 \sqrt{2}}-\frac{3 \tan ^{-1}\left (\frac{\sqrt{2} \sqrt [4]{1-x}}{\sqrt [4]{x+1}}+1\right )}{8 \sqrt{2}} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.286204, antiderivative size = 234, normalized size of antiderivative = 1., number of steps used = 13, number of rules used = 10, integrand size = 20, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.5 \[ -\frac{1}{3} (1-x)^{3/4} x (x+1)^{5/4}-\frac{1}{12} (1-x)^{3/4} (x+1)^{5/4}-\frac{3}{8} (1-x)^{3/4} \sqrt [4]{x+1}-\frac{3 \log \left (\frac{\sqrt{1-x}}{\sqrt{x+1}}-\frac{\sqrt{2} \sqrt [4]{1-x}}{\sqrt [4]{x+1}}+1\right )}{16 \sqrt{2}}+\frac{3 \log \left (\frac{\sqrt{1-x}}{\sqrt{x+1}}+\frac{\sqrt{2} \sqrt [4]{1-x}}{\sqrt [4]{x+1}}+1\right )}{16 \sqrt{2}}+\frac{3 \tan ^{-1}\left (1-\frac{\sqrt{2} \sqrt [4]{1-x}}{\sqrt [4]{x+1}}\right )}{8 \sqrt{2}}-\frac{3 \tan ^{-1}\left (\frac{\sqrt{2} \sqrt [4]{1-x}}{\sqrt [4]{x+1}}+1\right )}{8 \sqrt{2}} \]
Antiderivative was successfully verified.
[In] Int[(x^2*(1 + x)^(1/4))/(1 - x)^(1/4),x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [A] time = 22.7873, size = 197, normalized size = 0.84 \[ - \frac{x \left (- x + 1\right )^{\frac{3}{4}} \left (x + 1\right )^{\frac{5}{4}}}{3} - \frac{\left (- x + 1\right )^{\frac{3}{4}} \left (x + 1\right )^{\frac{5}{4}}}{12} - \frac{3 \left (- x + 1\right )^{\frac{3}{4}} \sqrt [4]{x + 1}}{8} - \frac{3 \sqrt{2} \log{\left (1 + \frac{\sqrt{x + 1}}{\sqrt{- x + 1}} - \frac{\sqrt{2} \sqrt [4]{x + 1}}{\sqrt [4]{- x + 1}} \right )}}{32} + \frac{3 \sqrt{2} \log{\left (1 + \frac{\sqrt{x + 1}}{\sqrt{- x + 1}} + \frac{\sqrt{2} \sqrt [4]{x + 1}}{\sqrt [4]{- x + 1}} \right )}}{32} - \frac{3 \sqrt{2} \operatorname{atan}{\left (1 - \frac{\sqrt{2} \sqrt [4]{x + 1}}{\sqrt [4]{- x + 1}} \right )}}{16} + \frac{3 \sqrt{2} \operatorname{atan}{\left (1 + \frac{\sqrt{2} \sqrt [4]{x + 1}}{\sqrt [4]{- x + 1}} \right )}}{16} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate(x**2*(1+x)**(1/4)/(1-x)**(1/4),x)
[Out]
_______________________________________________________________________________________
Mathematica [C] time = 0.0748283, size = 57, normalized size = 0.24 \[ \frac{1}{24} \sqrt [4]{x+1} \left (9\ 2^{3/4} \, _2F_1\left (\frac{1}{4},\frac{1}{4};\frac{5}{4};\frac{x+1}{2}\right )-(1-x)^{3/4} \left (8 x^2+10 x+11\right )\right ) \]
Antiderivative was successfully verified.
[In] Integrate[(x^2*(1 + x)^(1/4))/(1 - x)^(1/4),x]
[Out]
_______________________________________________________________________________________
Maple [F] time = 0.049, size = 0, normalized size = 0. \[ \int{{x}^{2}\sqrt [4]{1+x}{\frac{1}{\sqrt [4]{1-x}}}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int(x^2*(1+x)^(1/4)/(1-x)^(1/4),x)
[Out]
_______________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \[ \int \frac{{\left (x + 1\right )}^{\frac{1}{4}} x^{2}}{{\left (-x + 1\right )}^{\frac{1}{4}}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((x + 1)^(1/4)*x^2/(-x + 1)^(1/4),x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [A] time = 0.247824, size = 378, normalized size = 1.62 \[ -\frac{1}{24} \,{\left (8 \, x^{2} + 10 \, x + 11\right )}{\left (x + 1\right )}^{\frac{1}{4}}{\left (-x + 1\right )}^{\frac{3}{4}} + \frac{3}{8} \, \sqrt{2} \arctan \left (\frac{x - 1}{\sqrt{2}{\left (x - 1\right )} \sqrt{\frac{\sqrt{2}{\left (x + 1\right )}^{\frac{1}{4}}{\left (-x + 1\right )}^{\frac{3}{4}} + x - \sqrt{x + 1} \sqrt{-x + 1} - 1}{x - 1}} + \sqrt{2}{\left (x + 1\right )}^{\frac{1}{4}}{\left (-x + 1\right )}^{\frac{3}{4}} + x - 1}\right ) + \frac{3}{8} \, \sqrt{2} \arctan \left (\frac{x - 1}{\sqrt{2}{\left (x - 1\right )} \sqrt{-\frac{\sqrt{2}{\left (x + 1\right )}^{\frac{1}{4}}{\left (-x + 1\right )}^{\frac{3}{4}} - x + \sqrt{x + 1} \sqrt{-x + 1} + 1}{x - 1}} + \sqrt{2}{\left (x + 1\right )}^{\frac{1}{4}}{\left (-x + 1\right )}^{\frac{3}{4}} - x + 1}\right ) - \frac{3}{32} \, \sqrt{2} \log \left (\frac{2 \,{\left (\sqrt{2}{\left (x + 1\right )}^{\frac{1}{4}}{\left (-x + 1\right )}^{\frac{3}{4}} + x - \sqrt{x + 1} \sqrt{-x + 1} - 1\right )}}{x - 1}\right ) + \frac{3}{32} \, \sqrt{2} \log \left (-\frac{2 \,{\left (\sqrt{2}{\left (x + 1\right )}^{\frac{1}{4}}{\left (-x + 1\right )}^{\frac{3}{4}} - x + \sqrt{x + 1} \sqrt{-x + 1} + 1\right )}}{x - 1}\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((x + 1)^(1/4)*x^2/(-x + 1)^(1/4),x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \[ \int \frac{x^{2} \sqrt [4]{x + 1}}{\sqrt [4]{- x + 1}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(x**2*(1+x)**(1/4)/(1-x)**(1/4),x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [F] time = 0., size = 0, normalized size = 0. \[ \int \frac{{\left (x + 1\right )}^{\frac{1}{4}} x^{2}}{{\left (-x + 1\right )}^{\frac{1}{4}}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((x + 1)^(1/4)*x^2/(-x + 1)^(1/4),x, algorithm="giac")
[Out]